package com.ck.system.mapper;

import com.ck.common.entity.SysDictData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Arrays;
import java.util.List;

/**
 * @author changk
 * @date 2024/11/21 17:19
 */
@Mapper
public interface SysDictDataMapper {
    public List<SysDictData> selectDictDataByType(String dictType);

    int updateDictDataType(@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);

    int countDictDataByType(String dictType);

    List<SysDictData> selectDictDataList(SysDictData dictData);
}
